package com.dongjiantong.sys.enums;

public enum LogsEnum {
    //0默认,1系统任务，2 新增 3删除 4修改
    /**
     * 默认
     */
    DEFAULT(0,"默认"),

    /**
     * 系统任务
     */
    SYSTEM(1,"系统任务"),

    /**
     * 新增
     */
    ADD(2,"新增"),
    /**
     * 删除
     */

    DELETE(3,"删除"),
    /**
     *修改
     */
    UPDATE(4,"修改");

    private final Integer code;
    private final String name;

    private LogsEnum(Integer code, String name) {

        this.code = code;
        this.name = name;

    }
    public Integer getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }
}
